package com.linwen.javase.desgin_pattern.structure.decorator;

/**
 * @ClassName DecoratorTest
 * @Description
 * @Author lin
 * @Date 2022/6/21 下午11:55
 * @Version V1.0
 */
public class DecoratorTest {
    public static void main(String[] args) {
        BaseServiceImpl baseService = new BaseServiceImpl();
        DecoratorImpl decorator = new DecoratorImpl(baseService);
        decorator.test();
    }
}
